import { createI18n } from 'vue-i18n'
import en from './en.ts'
import zh from './zh.ts'

const i18n = createI18n({
    locale: localStorage.getItem('base-vue-ts-locale') || 'zh',
    messages: { en,zh }
})

export default i18n